import java.io.*;
import java.util.Scanner;

public class AutomaticallyGenerateHTML {
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        int row = scanner.nextInt();
        int col = scanner.nextInt();
        FileWriter fileWriter = null;
        try {
            fileWriter = new FileWriter("Table.html");
            fileWriter.write("<!DOCTYPE html>\n<html lang=\"en\">\n<head>\n\t<meta charset=\"UTF-8\">\n\t<meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">\n\t<meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\">\n\t<title>Document</title>\n</head>\n<body>\n\t<table>");
            for (int i = 0; i < row; i++) {
                fileWriter.write("\n\t\t<tr>");
                for (int j = 0; j < col; j++) {
                    fileWriter.write("\n\t\t\t<td></td>");
                }
                fileWriter.write("\n\t\t</tr>");
            }
            fileWriter.write("\n\t</table>\n</body>\n</html>");

        } catch (FileNotFoundException e) {
            e.printStackTrace();
        } catch (IOException e) {
            e.printStackTrace();
        } finally {
            if (fileWriter != null) {
                try {
                    fileWriter.close();
                } catch (IOException e) {
                    e.printStackTrace();
                }
            }
            scanner.close();
        }
    }
}
